﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace TianShiProject.Models.BaseInfo
{
    /// <summary>
    /// 车辆表
    /// </summary>
    public class Car : BasicAggregateRoot<int>
    {
        /// <summary>
        /// 车辆编号
        /// </summary>
        public string CarNumber { get; set; }
        /// <summary>
        /// 厂牌型号
        /// </summary>
        public string CarBrand { get; set; }          /// <summary>
        /// 车牌号
        /// </summary>
        public string License { get; set; }
        /// <summary>
        /// 司机名称
        /// </summary>
        public string DriverName { get; set; }
        /// <summary>
        /// 所属公司
        /// </summary>
        public int CompanyId { get; set; }
        /// <summary>
        /// 车型
        /// </summary>
        public string CarType { get; set; }
        /// <summary>
        /// 车辆颜色
        /// </summary>
        public string CarColor { get; set; }
        /// <summary>
        /// 购置日期
        /// </summary>
        public DateTime PurchaseTime { get; set; }
        /// <summary>
        /// 营运证号
        /// </summary>
        public string MarketingNumber { get; set; }
        /// <summary>
        /// 保险到期时间
        /// </summary>
        public DateTime ExpiryTime { get; set; }
        /// <summary>
        /// 年检到期时间
        /// </summary>
        public DateTime CheckTime { get; set; }
        /// <summary>
        /// 保养公里数设置
        /// </summary>
        public string Kilometre { get; set; }
        /// <summary>
        /// 车辆照片
        /// </summary>
        public string CarImg { get; set; }
        /// <summary>
        /// 保险卡照片
        /// </summary>
        public string ExpiryImg { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
    }
}
